        <script type="text/javascript">
            $(document).ready(function() {
                var width=$('#moshe').attr('offsetWidth');
                $('#randomimage').attr('width',width-20);

            $.ajaxSetup({async: false});
            $.getScript('/js/jquery/jquery.corner.js',function(){
$('.myCorner').corner("tear 20px").parent().css('padding', '15px').corner("tear 20px");

            });
            $.ajaxSetup({async: true});


            });
        </script>
        <div id="moshe" style="background-color:#aabbcc;text-align:center;width:150px">
<div class="myCorner" style="background-color:#D2F870; padding:10px"><img id="randomimage" src="/components/<?=$this->getComponentDir()?>/data/demo/nature00915_small.jpg"/></div>
</div>
